package me.desingpatterns.behavioral.mediator;

/**
 * 
 * @author guanpanpan
 *
 */
public class ListBox implements Widget {
	private DialogDirector dialogDirector;

	public ListBox(DialogDirector dialogDirector) {
		super();
		this.dialogDirector = dialogDirector;
	}

	@Override
	public void changed() {
		this.dialogDirector.widgetChange(this);

	}

	public int getSelection() {
		return 1;
	}
}
